package com.khh.service;

import com.khh.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by webrx on 2017-09-22.
 */

public interface UserService{

    //查询所有
    public List<User> query();

    //插入数据
    public int insert(User user);

    //查询单个
    public User selectOne(User user);

}
